<template>
  <div class="h-225px page-top">
    <div class="w-1328px mx-auto pt-70px flex flex-col text-white">
      <h2 class="font-size-36px lh-50px mb-8px">{{ props.title }}</h2>
      <div class="font-size-18px lh-24px">{{ props.subTitle }}</div>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  title: String,
  subTitle: String,
});
</script>

<style lang="less" scoped>
.page-top {
  position: relative;
  background: linear-gradient(90deg, #001985 42%, #2a1f9f 82%);
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("/news-bg.png") no-repeat center;
    background-size: cover;
    mix-blend-mode: saturation;
  }
}
</style>
